package homework;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.io.Serializable;

/**
 * @classname:Students
 * @description:
 * @author: Mr.Z
 * @date: 2020/12/17 20:45
 * @version: 0.1
 * @since:1.8
 */
@Setter
@Getter
@NoArgsConstructor
@AllArgsConstructor
public class Students implements Serializable {

    private static final long serialVersionUID = 287952646309313096L;

    private Integer stuId;
    private String name;
    private String gender;
    public void show(){
        System.out.println("姓名："+this.name+"性别:"+this.gender);
    }
}
